[NTG-context] Re: issue with typing in footnotes

2024-03-17 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 17.03.2024 um 17:38: Dear list, I have the following sample (which was on the way of showing another issue): \starttext a \starttyping b \stoptyping c \startfootnote a \starttyping b \stoptyping c \stopfootnote

[NTG-context] issue with typing in footnotes

2024-03-17 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample (which was on the way of showing another issue): \starttext a \starttyping b \stoptyping c \startfootnote a \starttyping b \stoptyping c \stopfootnote \stoptext Current latest (from 2024.03.11 09:34) breaks compilation with both

Re: [NTG-context] Forbid footnotes from splitting across pages

2022-08-03 Thread Hamid,Idris via ntg-context
=none,width=\textwidth,style={\setupwhitespace[medium]}]}, after={\stopframedtext\blank[medium]}] \starttext \input ward\ \startfootnote \input knuth \stopfootnote{} \dorecurse{3}{\input ward\ } \startfootnote \input knuth \stopfootnote{} \dorecurse{2}{\input ward\ } \startfootnote \input knuth

[NTG-context] Forbid footnotes from splitting across pages

2022-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد via ntg-context
[footnote][split=verystrict] % \setupnotation[footnote][split=verystrict] \starttext \input ward\ \startfootnote \input knuth \stopfootnote{} \dorecurse{3}{\input ward\ } \startfootnote \input knuth \stopfootnote{} \dorecurse{2}{\input ward\ } \startfootnote \input knuth \stopfootnote{} \dorecurse{3

Re: [NTG-context] error with sbl bibliography on latest LMTX

2022-07-09 Thread Joey McCollum via ntg-context
his necessary? For some reason, \btx_sbl_doifendswithpunctelse is not recognized within the footnote environment... \def\currentbtxcitealternative{footnote} \def\currentbtxcategory{\btxfield{category}} \def\currentbtxloctext{\btxparameter{loctext}} \def\currentbtxaltloctext{\btxparameter{altloctex

[NTG-context] error with sbl bibliography on latest LMTX

2022-07-08 Thread Henning Hraban Ramm via ntg-context
={#1},\c!title ={#2},\c!bookmark =,\c!list =,\c!referencetext =] \strc_notations_wrapup \22>:btx:sbl:cite:footnote ...ct}}\begingroup \letbtxparameter {punct}\empty \let \doifendswithpunctelse \btx_sbl_doifendswithpunctelse \startfootnote \Word {\fastsetup {btx:sbl:cite:inline}}\doif {\btxparameter {

Re: [NTG-context] Why are endnotes not working with ConTeXt-SBL?

2021-12-26 Thread Joey McCollum via ntg-context
] \startchapter[title=Bibliography] \placelistofpublications \stopchapter \stoptext ``` If it helps, the relevant code in publications support is the following block in publ-imp-cite.mkvi: ``` \startsetups \s!btx:\s!cite:footnote \startfootnote \fastsetup{btx:cite:entry

Re: [NTG-context] Why are endnotes not working with ConTeXt-SBL?

2021-12-25 Thread Joey McCollum via ntg-context
}} \begingroup \letbtxparameter{punct}\empty % don't pass the trailing punctuation down to the inline setup \startfootnote \Word{\fastsetup{btx:sbl:cite:inline}}% capitalize the first word in the footnote (needed to render "Ibid." and "Idem" correctly) %

Re: [NTG-context] Why are endnotes not working with ConTeXt-SBL?

2021-12-25 Thread Joey McCollum via ntg-context
is not recognized within the footnote environment... \startfootnote \Word{\fastsetup{btx:sbl:cite:inline}}% capitalize the first word in the footnote (needed to render "Ibid." and "Idem" correctly) % Add a closing period, unless the righttext ends with punctuation \doifendswithpun

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-17 Thread Denis Maier via ntg-context
z or > hanging). Ah, I alway forget that. By the way, is there a way to append to setting instead of overriding it? > > > Is it possible to change the text direction for single notes? > > It doesn’t seem an option for \startfootnote. Yep, unlike other \startstops \startfootnot

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-16 Thread Pablo Rodriguez via ntg-context
the text direction for single notes? It doesn’t seem an option for \startfootnote. How about defining a new command? \definedelimitedtext[rtlblockquote][before={\righttoleft}] \definenote[otnote][footnote] \setupnote[otnote][align=l2r] \starttext \input zapf \startblockquote \input zapf\fo

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
ay to define an >>>> abbreviation using the expanded values of macros as above? And is there a >>>> way to invoke an abbreviation/synonym at this level of abstraction? >>>> (Something like \inshort[\currentbtxtag]?) >>>> >>&

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
gt; jmccollum20140...@gmail.com> wrote: >>> >>>> Just continuing to talk my way through the inner workings of the >>>> ConTeXt Publication modules. It looks like three "long" citation forms are >>>> defined in publ-imp-cite.mkvi: &

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
>>> \ifx\currentbtxfirst\empty >>> \fastsetup{\s!btx:\s!cite:\s!empty} >>> \else >>>\texdefinition {\s!btx:\s!cite:inject} { >>>\btxcitereference >>>\currentbtxfirst >>>} >&

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
:inject} { >>\btxcitereference >>\currentbtxfirst >>} >> \fi >> \fastsetup{\s!btx:\s!cite:righttext} >> \stopsetups >> >> \startsetups \s!btx:\s!cite:entry >> \fastsetup{\s!btx:\s!cite:c

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
} > \fi > \fastsetup{\s!btx:\s!cite:righttext} > \stopsetups > > \startsetups \s!btx:\s!cite:entry > \fastsetup{\s!btx:\s!cite:concat} > \fastsetup{\s!btx:\s!cite:lefttext} > \btxhandleciteentry > \fastsetup{\s!btx:\s!cite:rig

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-08-22 Thread Joey McCollum via ntg-context
stsetup{\s!btx:\s!cite:concat} \fastsetup{\s!btx:\s!cite:lefttext} \btxhandleciteentry \fastsetup{\s!btx:\s!cite:righttext} \stopsetups \startsetups \s!btx:\s!cite:footnote \startfootnote \fastsetup{btx:cite:entry} \stopfootnote \stopsetups Intuitively, I wo

Re: [NTG-context] \note[xx] gives unknown reference for \startfootnote, ok for \footnote

2021-08-05 Thread Hans Hagen via ntg-context
On 8/5/2021 5:07 AM, Rik Kabel via ntg-context wrote: The following example: \starttext abc\footnote[fn:abc]{footnote abc}\ abc def \startfootnote[fn:def]  footnote def \stopfootnote \ def No problem here: abc\note[fn:abc] Problem appears here: def\note

[NTG-context] \note[xx] gives unknown reference for \startfootnote, ok for \footnote

2021-08-04 Thread Rik Kabel via ntg-context
The following example: \starttext abc\footnote[fn:abc]{footnote abc}\ abc def \startfootnote[fn:def]  footnote def \stopfootnote \ def No problem here: abc\note[fn:abc] Problem appears here: def\note[fn:def] \stoptext Generates a missing reference error

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-07-02 Thread denis.maier
    [{\it\getmarking[chapter]}][part] >   \stopchapter > \stoptexdefinition > > %--% > > \starttext > > \completecontent > > \startpart[title=Part 1] > \dorecurse{3}{ >   \star

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Rik Kabel
%--% \starttext \completecontent \startpart[title=Part 1] \dorecurse{3}{   \startchapter[title=Chapter #1]     If a man wants to read good books, he must make a point of     avoiding bad ones; for life is short, and time and energy     limited.     \startfootnote   T.\,Baily Saunders

Re: [NTG-context] Converting footnotes to endnotes

2021-06-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Thu, 03 Jun 2021 14:17:15 -0600, Wolfgang Schuster wrote: \setupnote [footnote] [location=none] That did the trick; many thanks! == \setupnote [footnote] [location=none] \starttext \startsection[title={},reference={}] \input ward \startfootnote \input ward

[NTG-context] Converting footnotes to endnotes

2021-06-03 Thread Idris Samawi Hamid ادريس سماوي حامد
=bychapter] \starttext \startsection[title={},reference={}] \input ward \startfootnote \input ward \stopfootnote{} \input ward \startfootnote \input ward \stopfootnote{} \stopsection \startsection[title={},reference={}] \input ward \startfootnote \input ward \stopfootnote{} \input ward

Re: [NTG-context] Footnotes in math mode

2020-06-28 Thread Jairo A. del Rio
perly use footnotes in math mode. The > > following: > > > > \starttext > > \startformula > > \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d > > x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote > > \stopformula > > \stopte

Re: [NTG-context] Footnotes in math mode

2020-06-28 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 28.06.2020 um 12:54: Hi list! I want to know how to properly use footnotes in math mode. The following: \starttext \startformula \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote

[NTG-context] Footnotes in math mode

2020-06-28 Thread Jairo A. del Rio
Hi list! I want to know how to properly use footnotes in math mode. The following: \starttext \startformula \int_{a}^{b} f(x) d x=\lim _{h=0}\left[\int_{a}^{c-h} f(x) d x+\int_{c+h}^{b} f(x) d x\right] \startfootnote Footnote \stopfootnote \stopformula \stoptext doesn't complain but it doesn't

Re: [NTG-context] French interface

2020-06-25 Thread Wolfgang Schuster
nment. While it is easy to create a synonym for \startluacode this isn't the case for \stopluacode because the environment always look for \stopluacode as stopper and alternative names are ignored. There are ways to work around this (e.g. \startfoo

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Otared Kavian
aa aa Daa}. Saa aaa a aaa aaa >> a aaa aa aa aaa aaa >> Ia aa Raaa aaa Ha aa aa a . >> >> Taa Fa’a aa aaa, Faaa M.~Fa (1894–1949) aaa a >> a

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Rik Kabel
  Maaa Ca Aaa Gaa aaa aaa W Ja Raa   Oaaa.% \startfootnote   T aaa aa a I aa Da.~Fa aa a   a aa aaa aa’a . \stopfootnote \ T , Ja Fa H, aaa a aa

[NTG-context] LMTXL Tagging and overlay

2019-12-10 Thread Rik Kabel
.~H Maaa Ma   aaa aa aa Daaa aa Raaa aaa aaa Ca aa Ja   Maaa Ca Aaa Gaa aaa aaa W Ja Raa   Oaaa.% \startfootnote   T aaa aa a I aa Da.~Fa aa a   a aa

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
construct it, so here is a not-necessarily-minimal example. Note that the problem occurs in footnotes (and endnotes, left as an exercise to the curious). \setuppapersize[A9] \starttext \startparagraph Text \startfootnote Text \stopfootnote \stopparagraph

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Wolfgang Schuster
). \setuppapersize[A9] \starttext \startparagraph Text \startfootnote Text \stopfootnote \stopparagraph \startparagraph \index{Strumpf} Text \startfootnote \index{Strumpf} Text \stopfootnote \stopparagraph\startparagraph Text \startfootnote

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
(and endnotes, left as an exercise to the curious). \setuppapersize[A9] \starttext \startparagraph Text \startfootnote Text \stopfootnote \stopparagraph \startparagraph \index{Strumpf} Text \startfootnote \index{Strumpf} Text \stopfootnote

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Idris Samawi Hamid ادريس سماوي حامد
rttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopc

Re: [NTG-context] Referencing footnotes by SECTION

2018-07-02 Thread Wolfgang Schuster
{First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopchapter \startchapter[title={

Re: [NTG-context] Referencing footnotes by SECTION

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
] [default] [prefixstopper=\zerowidthspace] \setupwhitespace[big] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2

[NTG-context] Referencing footnotes by SECTION

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
] \starttext \startchapter[title={First},reference={}] \startsubsection[title={},reference={reference1}] \input ward \startfootnote[footnote1] \input ward \stopfootnote{} See \in{Footnote}[footnote2]. \stopsubsection \startsubsection[title={},reference={reference2}] \input ward \stopsubsection \stopchapter

Re: [NTG-context] bidi in footnotes

2018-06-27 Thread Idris Samawi Hamid ادريس سماوي حامد
tached and below: === \setupdirections[bidi=global] \setupwhitespace[big] \setupnotation[footnote][style={\setupwhitespace[big],\setupdirections[bidi=global]}] \starttext \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \par Test امتحان test \startfootnote \definedfont[file:almfixed.ot

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
e, etc,) which are have to explicitly setup for such environments? Whitespace etc. are unrelated to the problem above and can be changed with the normal setup-commands. Counterexample to whitespace attached and below: \setupwhitespace[big] \starttext \input ward \par \input ward \startfo

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Wolfgang Schuster
nments? Whitespace etc. are unrelated to the problem above and can be changed with the normal setup-commands. Counterexample to whitespace attached and below: \setupwhitespace[big] \starttext \input ward \par \input ward \startfootnote \input ward \par \input ward \stopfootnote{} \stoptext Whit

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
for such environments? Whitespace etc. are unrelated to the problem above and can be changed with the normal setup-commands. Counterexample to whitespace attached and below: \setupwhitespace[big] \starttext \input ward \par \input ward \startfootnote \input ward \par \input ward \stopfootnote{} \stoptext

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Idris Samawi Hamid ادريس سماوي حامد
-commands. Counterexample to whitespace attached and below: \setupwhitespace[big] \starttext \input ward \par \input ward \startfootnote \input ward \par \input ward \stopfootnote{} \stoptext Whitespace is applied in the main text but not in the footnotes. How is this case different from

Re: [NTG-context] bidi in footnotes

2018-06-21 Thread Mohammad Hossein Bateni
es] > > \setupdirections[bidi=on] > > \definedfont[file:almfixed.otf*arabic at 14pt] > > \stopsetups > > \setupnotes[footnote][setups=bidi:footnotes] > > > > \starttext > > \definedfont[file:almfixed.otf*arabic at 14pt] > > Test امتحان test > > \st

Re: [NTG-context] bidi in footnotes

2018-06-21 Thread Idris Samawi Hamid ادريس سماوي حامد
test-bidi-footnote.tex \setupdirections[bidi=global] \startsetups[bidi:footnotes] \setupdirections[bidi=on] \definedfont[file:almfixed.otf*arabic at 14pt] \stopsetups \setupnotes[footnote][setups=bidi:footnotes] \starttext \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \startfootnote

Re: [NTG-context] bidi in footnotes

2018-06-20 Thread Otared Kavian
at 14pt] \stopsetups \setupnotes[footnote][setups=bidi:footnotes] \starttext \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \startfootnote Test امتحان test \stopfootnote{} \stoptext % end test-bidi-footnote.tex Best regards: OK > On 20 Jun 2018, at 23:22, ⁨Idris Sam

Re: [NTG-context] bidi in footnotes

2018-06-20 Thread Mohammad Hossein Bateni
> Dear gang, > > In the attached/following example, bidi is not applied in the footnote: > > \setupdirections[bidi=global] > > \starttext > \definedfont[file:almfixed.otf*arabic at 14pt] > Test امتحان test > \startfootnote > \definedfont[file:almfixed.otf*arabic at 1

[NTG-context] bidi in footnotes

2018-06-20 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, In the attached/following example, bidi is not applied in the footnote: \setupdirections[bidi=global] \starttext \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \startfootnote \definedfont[file:almfixed.otf*arabic at 14pt] Test امتحان test \stopfootnote{} \stoptext

Re: [NTG-context] How to setup the footnote number in local footnotes

2018-03-25 Thread Idris Samawi Hamid ادريس سماوي حامد
f,offset=0pt] % \startlocalfootnotes[n=2] \startlocalfootnotes \input ward \startfootnote \input ward \stopfootnote \placelocalfootnotes \stoplocalfootnotes \stopframedtext \stoptext == See attached: 1) Would like the footnote-number counter to start at 2, not 1. Add \setcoun

Re: [NTG-context] How to setup the footnote number in local footnotes

2018-03-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 25. März 2018 um 17:04 Dear gang, Consider the following: == \starttext \startframedtext[width=fit,frame=off,offset=0pt] % \startlocalfootnotes[n=2] \startlocalfootnotes \input ward \startfootnote \inpu

[NTG-context] How to setup the footnote number in local footnotes

2018-03-25 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Consider the following: == \starttext \startframedtext[width=fit,frame=off,offset=0pt] % \startlocalfootnotes[n=2] \startlocalfootnotes \input ward \startfootnote \input ward \stopfootnote \placelocalfootnotes \stoplocalfootnotes \stopframedtext \stoptext

Re: [NTG-context] Setting the footnote symbol

2017-11-17 Thread Pablo Rodriguez
] \PagellaRegular \startlocalfootnotes Text \startfootnote Note \stopfootnote\ More text \placelocalfootnotes \stoplocalfootnotes \stopframedtext \dorecurse{5}{\input zapf} \stoptext Or use \switchtobodyfont[nonexisting] (if you feel more confortable

[NTG-context] Setting the footnote symbol

2017-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد
. \startfootnote Or \quotation{materiate form,} as Aristotle also calls it because it attains existence in a material embodiment and cannot be defined without reference to matter, though matter is itself indefinable. The discussion is interspersed with criticism of the forms. Aristotle attacks the theory

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Wolfgang Schuster
want to change with width of a space. \startsetups[footnote:space] \spaceskip .7\interwordspace plus .5\interwordstretch minus \interwordshrink \stopsetups \setupnote[footnote][setups=footnote:space] \starttext \input zapf \startfootnote \input zapf \stopfoo

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Wolfgang Schuster
:space] \spaceskip .7\interwordspace plus .5\interwordstretch minus \interwordshrink \stopsetups \starttext \input zapf \startfootnote \input zapf \stopfootnote \page \setupnote[footnote][setups=footnote:space] \input zapf \startfootnote \input zapf \stopfootnote \stoptext nor in my descr

[NTG-context] \placefootnotes bug?

2015-04-05 Thread Idris Samawi Hamid ادريس سماوي حامد
={yes,big},after={\blank[small]}] \setupfootnotes[location=text] \starttext \startsection[title=Section 1] \startparagraph \input ward \startfootnote \input ward \startparagraph \input ward \stopparagraph \stopfootnote{} \stopparagraph

[NTG-context] extra space in footnotes (XML)

2015-03-28 Thread Pablo Rodriguez
} { \dontleavehmode \ignorespaces \xmlflush{#1} \removeunwantedspaces } \par \stopxmlsetups \startxmlsetups xml:footnote:set \startfootnote \xmlflush{#1} \stopfootnote \stopxmlsetups \startluacode local gsub = string.gsub function

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Pablo Rodriguez
=Indentation Within a Footnote] \input ward \startfootnote \input ward \input ward \input ward \stopfootnote The explanation (you are a ConTeXt expert and I’m only a long-term newbie :-)) is that setups are required. Setups belong to \setupnote and indenting belongs to \setupnotation. I hope

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
in advance, and Best wishes Idris \setupindenting[big,yes] \setupheads[indentnext=no] \setupnotation[footnote][command={\setupindenting[big,yes]},indenting=yes,next] \starttext \startsubject[title=Indentation Within a Footnote] \input ward \startfootnote \input ward \input ward

[NTG-context] Indentation within footnotes

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
=no] \setupnotation[footnote][command={\setupindenting[big,yes]},indenting=yes,next] \starttext \startsubject[title=Indentation Within a Footnote] \input ward \startfootnote \input ward \input ward \input ward \stopfootnote \input ward \stopsubject \stoptext -- Idris Samawi Hamid

[NTG-context] textbackground

2015-02-26 Thread Alan BRASLAU
] \starttext \input darwin% \startfootnote \input dawkins \stopfootnote \input tufte \startspanish \input quevedo-es% \startfootnote \input cervantes-es \stopfootnote \stopspanish \input zapf \stoptext ___ If your question

Re: [NTG-context] textbackground

2015-02-26 Thread Hans Hagen
]}, background=color, backgroundcolor=lightgray] \starttext \input darwin% \startfootnote \input dawkins \stopfootnote \input tufte \startspanish \input quevedo-es% \startfootnote \input cervantes-es \stopfootnote \stopspanish \input zapf \stoptext \definetextbackground[en] \definetextbackground

Re: [NTG-context] dealing with footnotes and ol in XML

2015-01-11 Thread Pablo Rodriguez
{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:footnote:set \startfootnote \xmlflush{#1} \stopfootnote \stopxmlsetups \startluacode local gsub = string.gsub function xml.expressions.idstring(str) return type(str

Re: [NTG-context] dealing with footnotes and ol in XML

2015-01-11 Thread Hans Hagen
[@class='footnotes']}{} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:footnote:set \startfootnote \xmlflush{#1} \stopfootnote \stopxmlsetups \startluacode local gsub = string.gsub

[NTG-context] dealing with footnotes and ol in XML

2015-01-09 Thread Pablo Rodriguez
xml:footnote \startfootnote \xmlfirst{main}{div[@class='footnotes']/ol/li[@id=string.sub('\xmlatt{#1}{href}',2)]} \stopfootnote \stopxmlsetups \setupitemize[margin=yes] \xmlprocessbuffer{main}{demo}{} \stoptext The first issue I’m experiencing is that I don’t know how to avoid that footnotes

Re: [NTG-context] dealing with footnotes and ol in XML

2015-01-09 Thread Hans Hagen
xml:doc \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:footnote \startfootnote \xmlfirst{main}{div[@class='footnotes']/ol/li[@id=string.sub('\xmlatt{#1}{href}',2)]} \stopfootnote \stopxmlsetups \setupitemize[margin=yes] \xmlprocessbuffer{main}{demo}{} \stoptext The first issue

Re: [NTG-context] Multi-par footnotes. Indent second and later paragraphs?

2014-08-06 Thread Gerben Wierda
\startfootnote \input knuth \stopfootnote \stoptext Thanks, Can this also be used with \footnote{}? And out of curiosity understanding on how ConTeXt works: what does setupindenting do in this example? Why is it necessary? G Wolfgang

Re: [NTG-context] footnotes on wrong page

2013-07-24 Thread Alan BRASLAU
: \setupnotation [footnote] [way=bypage,numberconversion=set 2] for example, but maybe this is no longer the recommended syntax? Also, in order to restore gobbled space following,% \startfootnote \stopfootnote I use the following setup: \setupnote [footnote] [next={ }] So \setupnotation

[NTG-context] localfootnotes and bodyfontsize in a placetable

2013-04-23 Thread Alan BRASLAU
(there is a break between a and cell). Probably there is a better way of achieving this correctly. Alan\setupbodyfont[10pt] \starttext 10pt \startplacetable [title=A title] \switchtobodyfont [6pt] \startlocalfootnotes \bTABLE \bTR \bTD a cell\startfootnote A footnote

Re: [NTG-context] Bug in the latest beta (\stopalignment)

2013-04-10 Thread Alan BRASLAU
On Tue, 9 Apr 2013 18:07:19 +0200 Jannik Voges jannik.vo...@icloud.com wrote: \stopalignment Yes, I noticed a bug with \stopalignment. In fact \startalignment\stopalignment now gives errors in certain situations, for example, within a \startfootnote \stopfootnote pair. Alan

Re: [NTG-context] Bug in the latest beta (\stopalignment)

2013-04-10 Thread Hans Hagen
On 4/10/2013 9:49 AM, Alan BRASLAU wrote: On Tue, 9 Apr 2013 18:07:19 +0200 Jannik Voges jannik.vo...@icloud.com wrote: \stopalignment Yes, I noticed a bug with \stopalignment. In fact \startalignment\stopalignment now gives errors in certain situations, for example, within a \startfootnote

Re: [NTG-context] # sign in footnotes impossible ?

2013-02-16 Thread Marco Patzer
. Philipps buffer solution seems to work with either version. \asciimode \starttext %% works \startfootnote foo \type{#bar} \stopfootnote %% fails %% \startfootnote %% foo %% \starttyping %%#bar %% \stoptyping %% \stopfootnote \stoptext Marco signature.asc Description: Digital signature

[NTG-context] Floats and footnotes don't obey focus=standard

2013-01-20 Thread Marco Patzer
Footnote \startfootnote Footnote \stopfootnote \stoptext This issue was raised by devendra on tex.se¹. Marco [1] http://tex.stackexchange.com/q/94023/5245 signature.asc Description: Digital signature ___ If your

[NTG-context] \startfootnote\stopfootnote bug

2012-10-19 Thread Alan BRASLAU
Minimal example: \starttext \input tufte \startfootnote \input ward \stopfootnote \stoptext (works OK if one replaces \startfootnote \stopfootnote with \footnote{ }) Alan Runaway argument? \input ward \stopfootnote \stoptext ! File ended while scanning use of \strc_pickup_nop. system

Re: [NTG-context] \startfootnote\stopfootnote bug

2012-10-19 Thread Wolfgang Schuster
Am 19.10.2012 um 11:30 schrieb Alan BRASLAU alan.bras...@cea.fr: Minimal example: \starttext \input tufte \startfootnote \input ward \stopfootnote \stoptext Replace in strc-not.mkvi for the following block the named arguments with numbered arguments. This doesn’t work \unexpanded

[NTG-context] footnotes

2012-04-24 Thread Alan BRASLAU
numberconversion in strc-not.mkvi; nevertheless, numbered footnotes do not get reset on each page.) 2. next=\autoinsertnextspace still does not work \setupnote[footnote][next=\autoinsertnextspace] \starttext Subject% \startfootnote Note. \stopfootnote verb. \stoptext (Note, however, that \starttext

Re: [NTG-context] footnotes

2012-04-24 Thread Alan BRASLAU
a footnote reference at the bottom of a page, where there is no room to place the footnote, and there is at least one footnote reference on the following page, this results in two successive footnotes having the same reference number (or symbol)! This is a bug. What about \startfootnote \stopfootnote

Re: [NTG-context] MLA Bibliography

2012-04-18 Thread Philipp Gesang
, ] \setuppublications[ alternative=apa, ] \glet\originalcite\cite \let\cite\relax \unprotect \def\cite{\dodoubleempty\do_cite} \def\do_cite[#1][#2]{% %%% Wraps citations into footnotes. \iffirstargument \startfootnote \ifsecondargument \originalcite[#1][#2]% \else \originalcite

Re: [NTG-context] MLA Bibliography

2012-04-18 Thread Kip Warner
. \iffirstargument \startfootnote \ifsecondargument \originalcite[#1][#2]% \else \originalcite[#1]% \fi \stopfootnote \fi% } \protect \starttext \section{nova methodos referendi} \input knuth\cite[hh2010] \stoptext \endinput Thanks a lot Philipp. That's

[NTG-context] [***SPAM***] \setbreakpoints[compound] does not work

2012-03-25 Thread Steffen Wolfrum
Hi, is there a reason why hyphenation of compound Lwk-Maut does not work in following example? \showframe \mainlanguage[de] \setbreakpoints[compound] \setnumber[footnote][114] \starttext test {\startfootnote[ftn115] siehe Schlussbericht der zuständigen Bund-Länder-Arbeitsgruppe

Re: [NTG-context] [***SPAM***] \setbreakpoints[compound] does not work

2012-03-25 Thread Hans Hagen
On 25-3-2012 13:34, Steffen Wolfrum wrote: \showframe \mainlanguage[de] \setbreakpoints[compound] \setnumber[footnote][114] \starttext test {\startfootnote[ftn115] siehe Schlussbericht der zuständigen Bund-Länder-Arbeitsgruppe „Verkehrsverlagerungen info Lkw-Maut“, BT-Dr16/298 v.~13.\,12

Re: [NTG-context] [***NOSPAM***] \setbreakpoints[compound] does not work

2012-03-25 Thread Steffen Wolfrum
Am 25.03.2012 um 17:05 schrieb Hans Hagen: On 25-3-2012 13:34, Steffen Wolfrum wrote: \showframe \mainlanguage[de] \setbreakpoints[compound] \setnumber[footnote][114] \starttext test {\startfootnote[ftn115] siehe Schlussbericht der zuständigen Bund-Länder-Arbeitsgruppe

[NTG-context] subfootnote with wrong structureconversionset

2012-03-19 Thread Steffen Wolfrum
,numberseparatorset=footnote] \starttext test \footnote{} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote test \startfootnote note \stopfootnote \stoptext Steffen

Re: [NTG-context] footnotes setup

2012-03-18 Thread Alan Braslau
and the plural forms? Also, what parameters are accepted? (I see % not all make sense here in strc-not.mkvi) http://wiki.contextgarden.net/Footnotes seems confused (ToDo). In particular, I am still trying to get next=\autoinsertnextspace to make \startfootnote\stopfootnote work correctly... Alan

Re: [NTG-context] footnotes setup

2012-03-18 Thread Steffen Wolfrum
\startfootnote\stopfootnote work correctly... Footnotes are not yet fixed (due to Hans' flue ...) So it is probably in vain trying to make sense of the current state of the footnote mechanism. Best wishes, Steffen

Re: [NTG-context] footnotes setup

2012-03-18 Thread Wolfgang Schuster
(with a few changes) http://wiki.contextgarden.net/Footnotes seems confused (ToDo). In particular, I am still trying to get next=\autoinsertnextspace to make \startfootnote\stopfootnote work correctly… Large parts of the code have been rewritten and the next key wasn’t added yet. Wolfgang

[NTG-context] footnotes (\autoinsertnextspace)

2012-03-16 Thread Alan Braslau
Hello, I know that footnotes have been rewritten. Now, \autoinsertnextspace is ignored. Alan Minimal example: \setupfootnotes [next=\autoinsertnextspace] %\setupnote [footnote] [next=\autoinsertnextspace] % same as above... \starttext \input tufte \startfootnote This is a footnote

Re: [NTG-context] focus=standard not respected

2011-10-05 Thread Peter Münster
On Mon, Mar 28 2011, Marco wrote: In the following example the page focus jumps back to »fit« after clicking on the footnote number after »Foo«, although »focus=standard« is set. \setupinteraction [state=start, focus=standard] \starttext Foo \startfootnote Bar \stopfootnote

Re: [NTG-context] Indenting in footnotes

2011-08-15 Thread Wolfgang Schuster
replace \footnote{…} with \startfootnote …\stopfootnote. Wolfgang___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

Re: [NTG-context] focus=standard not respected

2011-03-29 Thread Marco
On 2011-03-28 Marco net...@lavabit.com wrote: In the following example the page focus jumps back to »fit« after clicking on the footnote number after »Foo«, although »focus=standard« is set. \setupinteraction [state=start, focus=standard] \starttext Foo \startfootnote Bar

[NTG-context] focus=standard not respected

2011-03-27 Thread Marco
In the following example the page focus jumps back to »fit« after clicking on the footnote number after »Foo«, although »focus=standard« is set. \setupinteraction [state=start, focus=standard] \starttext Foo \startfootnote Bar \stopfootnote \stoptext How to respect the users scaling factor

[NTG-context] bug in \definestructureconversionset[footnote] ?

2011-02-17 Thread Steffen Wolfrum
,numberseparatorset=footnote] \setupfootnotes[way=bytext] \starttext test \footnote{} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote test \startfootnote note \stopfootnote \stoptext How can this be fixed? Steffen

Re: [NTG-context] subfootnote

2011-02-15 Thread Steffen Wolfrum
is the problem!! \starttext test \footnote{} text test \startfootnote note \stopfootnote test \startsubfootnote subnote \stopsubfootnote test \startfootnote note \stopfootnote \stoptext fixed in next beta Yes, this was fixed. But in todays beta (20110211) suddenly there appears number

[NTG-context] Fwd: bug: no overfullrule in footnotes!

2010-12-10 Thread Steffen Wolfrum
] \showframe \starttext Test \hbox{text text text text text text text text text text text text text text text text text text}. \startfootnote[ftn007] Test \hbox{text text text text text text text text text text text text text text text text text text text text text}. \stopfootnote

[NTG-context] bug: no overfullrule in footnotes!

2010-12-07 Thread Steffen Wolfrum
text text text text text text text text text text text text text text}. \startfootnote[ftn007] Test \hbox{text text text text text text text text text text text text text text text text text text text text text}. \stopfootnote \stoptext

Re: [NTG-context] next space (problematic example!)

2010-12-04 Thread Steffen Wolfrum
=\autoinsertnextspace] \setupnote [footnote] [next=\autoinsertnextspace] \starttext Test text. \startfootnote Note. \stopfootnote \startTextit Test\stopTextit text Test text. \startfootnote Note. \stopfootnote Test text \stoptext

Re: [NTG-context] next space (problematic example!)

2010-12-03 Thread Steffen Wolfrum
=red, after=\autoinsertnextspace] \setupnote [footnote] [next=\autoinsertnextspace] \starttext Test text. \startfootnote Note. \stopfootnote \startTextit Test\stopTextit text Test text. \startfootnote Note. \stopfootnote Test text \stoptext

[NTG-context] next space

2010-11-29 Thread Steffen Wolfrum
Hi, please have a look at this: \definestartstop[redimportant][before={\startcolor[red]\bf\penalty1\hskip\zeropoint},after={\/\stopcolor}] \starttext This is normal, but this\startredimportant one\startfootnote at least \stopfootnote is bold\stopredimportant style. This is normal

Re: [NTG-context] hyphenated url (SOLVED)

2010-10-28 Thread Steffen Wolfrum
=start] \starttext test {\getbuffer[comurl]} text.% HEY! test \startfootnote test \getbuffer[comurl]\ text.% HEY! \stopfootnote{} text.% HEY! \stoptext Here, the % character can be used for URL, both in bodytext and footnote, but works as comment, too. And we can at the same time manually break

Re: [NTG-context] \setupnote (was subfootnote)

2010-10-14 Thread luigi scarso
, but it is pretty ugly.% \startfootnote Hopefully Hans will fix this in mkiv. \stopfootnote{} In the meantime, we will just have to make do, but the special syntax as seen here raises eyebrows with my MS-Word bound collaborators. Maybe for now \let\StartFootnote\startfootnote \def

Re: [NTG-context] \setupnote (was subfootnote)

2010-10-12 Thread Alan BRASLAU
On Tuesday 05 October 2010 15:32:27 Wolfgang Schuster wrote: Am 05.10.2010 um 14:41 schrieb Alan BRASLAU: The above example illustrates a *spacing problem* after \startfootnote \stopfootnote (the spacing after the footnote enumerator differs from \footnote{}) The \stopfootnote

  1   2   >